module.exports = {
  value: {
    type: Number,
    default: -1,
    name: '当前滚动条位置',
    filedType: 'value'
  },

  scrollScreen: {
    type: Boolean,
    default: false,
    name: '启用滚屏',
    filedType: 'switch'
  },

  pages: {
    type: String,
    default: '',
    name: '滚屏页数',
    nameTip: '启用多少页做为滚屏数, 不填即为全部, 填1则只第一屏可整体滚动，第一屏外的内容为常规滚动',
    filedType: 'string',
    vif: {
      key: 'scrollScreen',
      value: true
    }
  },

  scrollTime: {
    type: String,
    default: '',
    name: '滚屏时间',
    filedType: 'string',
    vif: {
      key: 'scrollScreen',
      value: true
    }
  },

  pageNum: {
    type: Number,
    default: 0,
    name: '当前页码',
    filedType: 'sync',
    vif: {
      key: 'scrollScreen',
      value: true
    }
  },

  styleEnable: {
    type: Boolean,
    default: false,
    name: '定制样式',
    filedType: 'switch'
  },

  scrollWidth: {
    type: String,
    default: '8px',
    name: '滚动条宽度',
    filedType: 'string',
    vif: {
      key: 'styleEnable',
      value: true
    }
  },

  scrollBg: {
    type: String,
    default: '#f5f5f5',
    name: '滚动条背景',
    filedType: 'color',
    vif: {
      key: 'styleEnable',
      value: true
    }
  },

  scrollColor: {
    type: String,
    default: '#666666',
    name: '滚动条颜色',
    filedType: 'color',
    vif: {
      key: 'styleEnable',
      value: true
    }
  }
}
